package com.example.demo.language.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.language.LanguageBase;
import com.example.demo.language.LanguageTypeEnum;
import com.example.demo.test1.entity.Test1;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname TestController
 * @description
 * @date 2023/02/16 17:21
 * <p>
 * ******************************************************
 */
@RestController("/language")
public class TestController {

    @Resource
    private LanguageBase languageBase;

    @GetMapping("/test")
    public void test() {
        String dsasda = languageBase.getValue11(LanguageTypeEnum.CHINESE.getId(), "dsasda");
    }


}
